import axios from "@/axios/request";

// 获取到图片列表分类栏目
export const getImagesPrograma = () => {
  return axios({
    url: "/api/getimgcategory",
  });
};
// 图片分类后的图片列表
export const getImagesList = (cateid) => {
  return axios({
    url: `/api/getimages/${cateid}`,
  });
};
// 图片资讯详情
export const getNews = (newid) => {
  return axios({
    url: `/api/getnew/${newid}`,
  });
};
// 展示图片组
export const getImagesGroup = (imgid) => {
  return axios({
    url: `/api/getthumimages/${imgid}`,
  });
};
export const getThumImages = (id) => {
  return axios({
    url: "/api/getthumimages/" + id,
  });
};
